<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>xstring</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>xstring</b> -  draw strings</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>xstring(x,y,str,[angle,box])  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x,y</b>
        </tt>: real scalars, coordinates of the lower-left point of the strings.</li>
      <li>
        <tt>
          <b>str</b>
        </tt>: matrix of strings.</li>
      <li>
        <tt>
          <b>angle</b>
        </tt>: real, clockwise angle in degree; default is 0.</li>
      <li>
        <tt>
          <b>box</b>
        </tt>: integer, default is 0.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>xstring</b>
      </tt> draws the matrix of strings <tt>
        <b>str</b>
      </tt> at location <tt>
        <b>x,y</b>
      </tt>
    (lower-left point) in the current graphic scale: each row of the matrix
    stands for a line of text and row elements stand for words separated by a
    white space.  If <tt>
        <b>angle</b>
      </tt> is given, it gives the slope in degree
    used for drawing the strings. If <tt>
        <b>box</b>
      </tt> is 1 and <tt>
        <b>angle</b>
      </tt> is 0,
    a box is drawn around the strings.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

plot2d([0;1],[0;1],0)
xstring(0.5,0.5,["Scilab" "is"; "not" "esilaB"])
//Other example
alphabet=["a" "b" "c" "d" "e" "f" "g" ..
          "h" "i" "j" "k" "l" "m" "n" ..
          "o" "p" "q" "r" "s" "t" "u" ..
          "v" "w" "x" "y" "z"];
xbasc()
plot2d([0;1],[0;2],0)
xstring(0.1,1.8,alphabet)     // alphabet
xstring(0.1,1.6,alphabet,0,1) // alphabet in a box
xstring(0.1,1.4,alphabet,20)  // angle
xset("font",1,1)              // use symbol fonts
xstring(0.1,0.1,alphabet)
xset("font",1,3)              // change size font
xstring(0.1,0.3,alphabet)
xset("font",1,24); xstring(0.1,0.6,"a") //big alpha
xset("default")
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="titlepage.htm">
        <tt>
          <b>titlepage</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="xnumb.htm">
        <tt>
          <b>xnumb</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="xstringb.htm">
        <tt>
          <b>xstringb</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="xstringl.htm">
        <tt>
          <b>xstringl</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="xtitle.htm">
        <tt>
          <b>xtitle</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>J.Ph.C.  </p>
  </body>
</html>
